Custom Hooks Tab of the Application Preferences Dialog Box

Use this tab to set processes that should run before a process runs or after the process completes.

Pre-process and post process can be set for the following Cobra processes:

  • Advance Calendar
  • Calculate Progress
  • Calculate Forecast
  • Integration Wizard
  • Move Work Package
  • Reclass
  • Update Totals

Contents

Field Description
Pre-process custom application

Use this field to run a process before a particular Cobra process runs or to modify a specific process using a custom application. Cobra can run the custom application before the data is saved in the temporary table and imported into the Cobra tables.

Enter the path of the custom application you want to run. You can also click to display the Locate Custom Application dialog box where you can select the process you want to run.

Note: The path you select must be on the application server and not on the local machine.
Post-process custom application

Use this field to run a custom application after a particular Cobra process runs. Cobra can run the custom application after the data is saved in the temporary table and before it is imported into the Cobra tables. An example of a post-process custom application for Integration wizard – actual costs is an allocation routine that allocates overhead costs back to specific control accounts or work packages.

Enter the path and file name of the custom application you want to run. You can also click to display the Locate Custom Application dialog box where you can select the process you want to run.

Note: The path you select must be on the application server and not on the local machine.
Pre-load custom application

Use this field to run a process before running the integration. If there is a pre-load process, the integration pauses while the external application is run. Once the external application is complete, the integration shall continue. This field applies when loading Project Data using the Integration wizard.

Enter the path and file name of the pre-load custom application you want to run. You can also click to display the Locate Custom Application dialog box where you can select the process you want to run.

Note: The path you select must be on the application server and not on the local machine.
Pre-load returns a result

Selecting this option instructs Cobra to return a True value if the pre-load custom application completes successfully, and continue with the integration, or to return a False value if the pre-load custom application completes with an error and stop the integration.

If this option is not selected, the integration process shall continue in all cases. By default, this option is cleared.

Pre-save custom application

Use this field to specify a custom application to be run before the data is saved. This field applies when loading Project Data using the Integration wizard.

Enter the path and file name of the pre-save custom application you want to run. You can also click to display the Locate Custom Application dialog box where you can select the process you want to run.

Note: The path you select must be on the application server and not on the local machine.
Pre-save returns a result

Selecting this option instructs Cobra to return a True value if the pre-save custom application completes successfully, and continue with the integration, or to return a False value if the pre-save custom application completes with an error and stop the integration.

If this option is not selected, the integration process shall continue in all cases. By default, this option is cleared.

Post-save custom application

Use this field to specify a custom application to be run after the data is saved.

Enter the path and file name of the post-save custom application you want to run. You can also click to display the Locate Custom Application dialog box where you can select the process you want to run.
Note: The path you select must be on the application server and not on the local machine.
Type
Select the type of file you want to run. Select one of the following options from the drop-down list:
  • Script — This is a text file with a SQL query or list of commands in VFP.
  • Executable — An example is a compiled VB or C++ application.
  • Visual FoxPro Procedure — This is a compiled .FXP file.